﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class PalletTransportJobStartedMessage : BaseTibcoMessage<PalletTransportJobStartedMessageBody>
    {
        public PalletTransportJobStartedMessage()
        {

        }
        public PalletTransportJobStartedMessage(PalletTransportJobStartedMessageBody body, string inboxName = "", string listener = "") : base("PalletTransportJobStarted", body, inboxName, listener)
        {
        }
    }


    public class PalletTransportJobStartedMessageBody : PalletEventBase
    {
        public PalletTransportJobStartedMessageBody()
        {
        }

        [XmlElement("TRANSPORTJOBNAME")]
        public string TransportJobName { get; set; }
        [XmlElement("CURRENTMACHINENAME")]
        public string CurrentMachineName { get; set; }
        [XmlElement("CURRENTPOSITIONTYPE")]
        public string CurrentPositionType { get; set; }
        [XmlElement("CURRENTPOSITIONNAME")]
        public string CurrentPositionName { get; set; }
        [XmlElement("CURRENTZONENAME")]
        public string CurrentZoneName { get; set; }
        [XmlElement("TRANSFERSTATE")]
        public string TransferState { get; set; }
    }
}
